package server.catalina;

/**
 * Service实例
 */
public class Service {

    /**
     * 配置端口号
     */
    private Connector connector;
    /**
     * Servlet引擎
     */
    private Engine engine;

    public Connector getConnector() {
        return connector;
    }

    public void setConnector(Connector connector) {
        this.connector = connector;
    }

    public Engine getEngine() {
        return engine;
    }

    public void setEngine(Engine engine) {
        this.engine = engine;
    }

    @Override
    public String toString() {
        return "Service{" +
                "connector=" + connector +
                ", engine=" + engine +
                '}';
    }
}
